package exception;

import java.io.FileNotFoundException;

public class ThrowDemo {
    public static void main(String[] args) throws IllegalAgeException {
        Student zs=new Student();
            zs.setAge(1000);
        System.out.println("此人的最总年龄为:"+zs.getAge());
    }
}
